package controllers

import (
	"gitee.com/zhengjianfeng/pay/services"
	"github.com/kataras/iris/v12"
)

type ApiController struct {
	Ctx iris.Context
	ApiBaseController
	Service services.TestService
}

func (c *ApiController) Get() {

	a := c.Service.GetAll()

	_, _ = c.Ctx.JSON(a)
}
